package com.lysj.bhp.supernode.repository;

import com.lysj.bhp.supernode.domain.SuperNodeUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface SuperNodeUserRepository extends JpaRepository<SuperNodeUser, Long>, JpaSpecificationExecutor {


    List<SuperNodeUser> findBySuperNodeId(Long superNodeId);


    SuperNodeUser findByUserId(Long userId);
}
